// 引用网络请求中间件
import request from '../../utils/request.js';

export default {
	historyList(id, type = 1, pageNum, pageSize) {
		return request({
			url: `/msg/getHistoryMessage?id=${id}&type=${type}&pageNum=${pageNum}&pageSize=${pageSize}`,
			method: 'POST',
		})
	},

	login(data) {
		return request({
			url: `/app/login`,
			method: 'POST',
			data
		})
	},
	
}